package com.example.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 新闻实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class News {
    private Integer newsId;
    private String newsTitle;
    private String newsContent;
    private Integer typeId;
    private String typeName;
    private String newsPublishers;
    private LocalDateTime pubTime;
    private String newsPic;
    private Integer newsRate;
}
